﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Xml.Serialization;

namespace ExIF35
{
    [XmlRootAttribute("Roll", Namespace = "", IsNullable = false)]
    public class Roll
    {
        public String cameramake;
        public String cameramodel;
        public String number;
        public String ISO;
        public String FilmType;
        [XmlArray("Exposures"), XmlArrayItem("Exposure", typeof(Exposure))]
        public List<Exposure> exposures = new List<Exposure>();

        public Roll()
        {
        }

        public void add(Exposure exp)
        {
            exposures.Add(exp);
        }
    }

}
